package org.jtorrent.connection.peer;

/**
 * Ryan Thomas
 * r.n.thomas@gmail.com
 *
 * @author ryan
 * @version $Revision$ $Author$ $Date$
 * @since Jun 21, 2009
 */
public class Peer {
    private String peerId;
    private String ipAddress;
    private int port;

    public Peer(final String peerId, final String ipAddress, final int port) {
        this.peerId = peerId;
        this.ipAddress = ipAddress;
        this.port = port;
    }

    public String getPeerId() {
        return peerId;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public int getPort() {
        return port;
    }
}
